﻿using System;

namespace Module.Core.EntitiesInfo
{

    [Serializable]
    public class AdvertisementInfo
    {
        #region Fields

        private int advertisementID;
        private string title;
        private string description;
        private string mediaSrc;
        private int width;
        private int height;
        private int mediaType;
        private string target;
        private int priority;
        private int createdBy;
        private DateTime createdOn;
        private DateTime startDate;
        private DateTime endDate;
        private int customerID;
        private int click;
        private int viewCount;
        private int isEnable;
        private int positionID;

        #endregion

        #region Properties
        /// <summary>
        /// Gets or sets the AdvertisementID value.
        /// </summary>
        public int AdvertisementID
        {
            get { return advertisementID; }
            set { advertisementID = value; }
        }

        /// <summary>
        /// Gets or sets the Title value.
        /// </summary>
        public string Title
        {
            get { return title; }
            set { title = value; }
        }

        /// <summary>
        /// Gets or sets the Description value.
        /// </summary>
        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        /// <summary>
        /// Gets or sets the MediaSrc value.
        /// </summary>
        public string MediaSrc
        {
            get { return mediaSrc; }
            set { mediaSrc = value; }
        }

        /// <summary>
        /// Gets or sets the Width value.
        /// </summary>
        public int Width
        {
            get { return width; }
            set { width = value; }
        }

        /// <summary>
        /// Gets or sets the Height value.
        /// </summary>
        public int Height
        {
            get { return height; }
            set { height = value; }
        }

        /// <summary>
        /// Gets or sets the MediaType value.
        /// </summary>
        public int MediaType
        {
            get { return mediaType; }
            set { mediaType = value; }
        }

        /// <summary>
        /// Gets or sets the Target value.
        /// </summary>
        public string Target
        {
            get { return target; }
            set { target = value; }
        }

        /// <summary>
        /// Gets or sets the Priority value.
        /// </summary>
        public int Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        /// <summary>
        /// Gets or sets the CreatedBy value.
        /// </summary>
        public int CreatedBy
        {
            get { return createdBy; }
            set { createdBy = value; }
        }

        /// <summary>
        /// Gets or sets the CreatedOn value.
        /// </summary>
        public DateTime CreatedOn
        {
            get { return createdOn; }
            set { createdOn = value; }
        }

        /// <summary>
        /// Gets or sets the StartDate value.
        /// </summary>
        public DateTime StartDate
        {
            get { return startDate; }
            set { startDate = value; }
        }

        /// <summary>
        /// Gets or sets the EndDate value.
        /// </summary>
        public DateTime EndDate
        {
            get { return endDate; }
            set { endDate = value; }
        }

        /// <summary>
        /// Gets or sets the CustomerID value.
        /// </summary>
        public int CustomerID
        {
            get { return customerID; }
            set { customerID = value; }
        }

        /// <summary>
        /// Gets or sets the Click value.
        /// </summary>
        public int Click
        {
            get { return click; }
            set { click = value; }
        }

        /// <summary>
        /// Gets or sets the ViewCount value.
        /// </summary>
        public int ViewCount
        {
            get { return viewCount; }
            set { viewCount = value; }
        }

        /// <summary>
        /// Gets or sets the IsEnable value.
        /// </summary>
        public int IsEnable
        {
            get { return isEnable; }
            set { isEnable = value; }
        }

        /// <summary>
        /// Gets or sets the PositionID value.
        /// </summary>
        public int PositionID
        {
            get { return positionID; }
            set { positionID = value; }
        }

        #endregion
    }
    public enum AdvertisementType
    {
        Image = 1,
        Flash = 2,
        Movie = 3
    }
}
